package com.aero.cojbackendjudgeservice.judge;

import com.aero.cojbackendmodel.model.entity.QuestionSubmit;

/**
 * 判题服务
 */
public interface JudgeService {

    /**
     * 判题
     * @param questionSubmitId
     * @param userId
     * @return QuestionSubmit
     */
    QuestionSubmit doJudge(long questionSubmitId, long userId);
}
